<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<!-- CSS 文件 ，不要删，不够自己添加 -->
<link rel="stylesheet" href="../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../css/bootstrap-table.min.css">
<link rel="stylesheet" href="../assets/css/azzara.min.css">
<link rel="stylesheet" href="../assets/css/demo.css">
<body>

<!--这里选择的是80%的容器，如果需要100%的话，自己修改一下-->
<div class="container">
    <!--内容在这里面添加就好了-->
    <div class="container-fluid" id="zhudiv">
        <div class="card-body">
            <form id="cpsygxall" class="form-inline">
                请输入登记时间：
                <input class="form-control" type="date" name="registerTime" id="registerTime">至
                <input class="form-control" type="date" name="checked" id="checked">&nbsp;
                <input class="btn btn-primary" onclick="cxks()" type="button" value=" 查 询 ">
                &nbsp;<input type="reset" value="清空条件" class="btn btn-primary">
            </form>
        </div>
        <table id="gxwl">

        </table>
    </div>

    <div style="text-align: right;" class="gxwltab">
        <button class="btn btn-primary" onclick="qdtj()">提交</button>
    </div>
    <div class="container-fluid gxwltab" style="border: 1px solid black;">
        <h1 style="text-align: center;">工序物料设计单</h1>
        <form id="gxfrom">
            <div style="width: 48%;display: inline-block">
                <div class="form-group form-inline">
                    <label class="col-md-3 col-form-label">工序单编号:</label>
                    <div class="col-md-9 p-0">
                        <span id="gxdbh"></span>
                    </div>
                </div>

                <div class="form-group form-inline">
                    <label class="col-md-3 col-form-label">设计人:</label>
                    <div class="col-md-9 p-0">
                        <span id="sjr"></span>
                    </div>
                </div>

            </div>
            <div style="width: 48%;display: inline-block">

                <div class="form-group form-inline">
                    <label class="col-md-3 col-form-label">产品名称:</label>
                    <div class="col-md-9 p-0">
                        <span id="name"></span>
                    </div>
                </div>

                <div class="form-group form-inline">
                    <label class="col-md-3 col-form-label">产品编号:</label>
                    <div class="col-md-9 p-0">
                        <span id="id"></span>
                    </div>
                </div>

            </div>

            <table class="table table-bordered table1">
                <tr>
                    <th>序号</th>
                    <th>工序名称</th>
                    <th>工序编号</th>
                    <th>工时数</th>
                    <th>工时成本小计(元)</th>
                    <th>物料成本小计(元)</th>
                    <th>设计</th>
                </tr>
                <tbody id="wlsjmx"></tbody>
            </table>
            <div style="width: 48%;display: inline-block">
                <div class="form-group form-inline">
                    <label class="col-md-3 col-form-label">工时总成本(元):</label>
                    <div class="col-md-9 p-0">
                        <span id="zcb"></span>
                    </div>
                </div>
                <div class="form-group form-inline">
                    <label class="col-md-3 col-form-label">设计要求:</label>
                    <div class="col-md-9 p-0">
                        <span id="yq"></span>
                    </div>
                </div>
                <div class="form-group form-inline">
                    <label class="col-md-3 col-form-label">审核人:</label>
                    <div class="col-md-9 p-0">
                        <span id="shr"></span>
                    </div>
                </div>
            </div>
            <div style="width: 48%;display: inline-block">
                <div class="form-group form-inline">
                    <label class="col-md-3 col-form-label">物料总成本(元):</label>
                    <div class="col-md-9 p-0">
                        <span id="wlcb"></span>
                    </div>
                </div>
                <div class="form-group form-inline">
                    <label class="col-md-3 col-form-label">审核时间:</label>
                    <div class="col-md-9 p-0">
                        <span id="shtime"></span>
                    </div>
                </div>
            </div>
        </form>
    </div>

    <div class="container-fluid" id="cpwlmx1">
        <div style="text-align: right;">
            <button class="btn btn-secondary" onclick="qd1()" id="but1"> 预览</button>
            <button class="btn btn-primary" onclick="qd2()" id="but2">提交</button>
        </div>

        <table id="cpwlmx" class="table table-bordered">
            <tr>
                <th>序号</th>
                <th>物料名称</th>
                <th>材料编号</th>
                <th>描述</th>
                <th>设计数量</th>
                <th>可用数量</th>
                <th>单位</th>
                <th>单价(元)</th>
                <th>本工序数量</th>
            </tr>
            <tbody id="tabsj"></tbody>
        </table>

        <table id="table11" class="table table-bordered">
            <tr>
                <th>序号</th>
                <th>物料名称</th>
                <th>材料编号</th>
                <th>描述</th>
                <th>本工序数量</th>
                <th>单位</th>
                <th>单价(元)</th>
                <th>小计(元)</th>
            </tr>
            <tbody id="tabtj"></tbody>
        </table>
    </div>


</div>
<!--js用到的包，不够在自己添加-->
<script src="../js/jquery.3.2.1.min.js"></script>
<script src="../js/popper.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/bootstrap-table.min.js"></script>
<script src="../js/bootstrap-table-zh-CN.min.js"></script>
<script src="../js/common.js"></script>
<script src="js/gxwlsjd.js"></script>
</body>
</html>